package com.dhl.fin.api.dao;

import com.dhl.fin.api.common.dto.QueryDto;
import com.dhl.fin.api.domain.PaymentRecord;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

public interface PaymentRecordDao {
    int deleteByPrimaryKey(PaymentRecord record);

    int insert(PaymentRecord record);

    int insertSelective(PaymentRecord record);

    List<PaymentRecord> selectPageQuery(QueryDto queryDto);

    List<PaymentRecord> selectSelective(QueryDto queryDto);

    int selectCount(QueryDto queryDto);

    PaymentRecord selectOne(QueryDto queryDto);

    PaymentRecord selectByPrimaryKey(Map data);

    int updateByPrimaryKeySelective(@Param("domain")PaymentRecord record, @Param("query")QueryDto queryDto);

    int updateByPrimaryKey(PaymentRecord record);
}